package com.zhongjianjian.Aopjiaoyanjiekoumidengxing;

import com.zhongjianjian.jiaoan.jiaoyanjiekoumidengxing.zhujie.ForCheck;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * 作者: lgt
 * 日期: 2020/2/21 00:33
 * 描述:
 */

@RestController
public class AopController {

    @RequestMapping("/aop/test02")
    @ForCheck
    public void test02(@RequestParam("token") String token){

        System.out.println(token+"====================OK");

    }

    @RequestMapping("/aop/test03")
    public void test03(){
        System.out.println("test03====================OK");
    }

}
